/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/*This style will blend Firefox 65+ in elementary OS.  Currently tested on Linux on Nightly*/

/* This userChrome is for button layout Elementary */

@import "base.css";
@import "flatpak.css";

/* brings window controls in the nav bar */
.titlebar-buttonbox {
    appearance: none !important;
    flex-direction: row !important;
    margin-left: 4px !important;
    top: 10px !important;
    position: absolute !important;
    display: flex !important;
    width: calc(100vw - 8px) !important;
    height: 26px !important;
    justify-content: space-between !important;
}

/* dont show window controls in fullscreen */
:root[sizemode="fullscreen"] .titlebar-buttonbox {
    display: none !important;
}

/* makes room for window control buttons */
#nav-bar {
    padding: 0px 41px 0px 45px !important;
}
